package io.acna.blog.entities;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Long userId;

    private String username;

    private Date password;

    private String nickname;

    private Integer gender;

    private String headImgUrl;

    private String headResourceUrl;

    private String nickColor;

    private String tiebaNo;

    private String email;

    private Date createTime;

    private Date updateTime;

    private Integer userStatus;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Date getPassword() {
        return password;
    }

    public void setPassword(Date password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl == null ? null : headImgUrl.trim();
    }

    public String getHeadResourceUrl() {
        return headResourceUrl;
    }

    public void setHeadResourceUrl(String headResourceUrl) {
        this.headResourceUrl = headResourceUrl == null ? null : headResourceUrl.trim();
    }

    public String getNickColor() {
        return nickColor;
    }

    public void setNickColor(String nickColor) {
        this.nickColor = nickColor == null ? null : nickColor.trim();
    }

    public String getTiebaNo() {
        return tiebaNo;
    }

    public void setTiebaNo(String tiebaNo) {
        this.tiebaNo = tiebaNo == null ? null : tiebaNo.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }
}